package com.pany.domain.models;

import java.sql.Timestamp;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import play.db.jpa.GenericModel;

@Entity
@Table(name = "t_tran")
public class TranInfo extends GenericModel
{
    @Id
    private String tranId;
    
    private String vipId;
    
    @Transient
    private String vipName;
    
    private String tranTypeId;
    
    @Transient
    private String tranTypeName;
    
    private Timestamp tranTime;
    
    private Double consume;
    
    private Double originalConsume;
    
    private String operatorId;
    
    @Transient
    private String operatorName;
    
    private String remark;
    
    public TranInfo()
    {
        super();
    }
    
    /**
     * @return the tranId
     */
    public String getTranId()
    {
        return tranId;
    }
    
    /**
     * @param tranId the tranId to set
     */
    public void setTranId(String tranId)
    {
        this.tranId = tranId;
    }
    
    /**
     * @return the vipId
     */
    public String getVipId()
    {
        return vipId;
    }
    
    /**
     * @param vipId the vipId to set
     */
    public void setVipId(String vipId)
    {
        this.vipId = vipId;
    }
    
    /**
     * @return the tranTime
     */
    public Timestamp getTranTime()
    {
        return tranTime;
    }
    
    /**
     * @param tranTime the tranTime to set
     */
    public void setTranTime(Timestamp tranTime)
    {
        this.tranTime = tranTime;
    }
    
    /**
     * @return the remark
     */
    public String getRemark()
    {
        return remark;
    }
    
    /**
     * @param remark the remark to set
     */
    public void setRemark(String remark)
    {
        this.remark = remark;
    }
    
    public String getTranTypeId()
    {
        return tranTypeId;
    }
    
    public void setTranTypeId(String tranTypeId)
    {
        this.tranTypeId = tranTypeId;
    }
    
    public String getTranTypeName()
    {
        return tranTypeName;
    }
    
    public void setTranTypeName(String tranTypeName)
    {
        this.tranTypeName = tranTypeName;
    }
    
    public String getVipName()
    {
        return vipName;
    }
    
    public void setVipName(String vipName)
    {
        this.vipName = vipName;
    }
    
    public Double getConsume()
    {
        return consume;
    }
    
    public void setConsume(Double consume)
    {
        this.consume = consume;
    }
    
    public Double getOriginalConsume()
    {
        return originalConsume;
    }
    
    public void setOriginalConsume(Double originalConsume)
    {
        this.originalConsume = originalConsume;
    }
    
    public String getOperatorName()
    {
        return operatorName;
    }
    
    public void setOperatorName(String operatorName)
    {
        this.operatorName = operatorName;
    }

    public String getOperatorId()
    {
        return operatorId;
    }

    public void setOperatorId(String operatorId)
    {
        this.operatorId = operatorId;
    }
    
}
